package com.hs.pk.berth.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * berth
 * </p>
 *
 * @author lhj
 * @since 2022-07-20
 */
@Getter
@Setter
@TableName("berth")
@Data
@ApiModel(value = "Berth对象", description = "berth")
public class Berth implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId("id")
    private Long id;

    @ApiModelProperty("路段编号")
    @TableField("road_id")
    private Long roadId;

    //泊位状态--0可用/1不可用/2异常/3未安装地磁
    @ApiModelProperty("泊位状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("泊位名称")
    @TableField("berth_name")
    private String berthName;

    @ApiModelProperty("地磁编号")
    @TableField("detector_id")
    private Integer detectorId;


}
